<?php 
	$lista = $this->lista;
	
?>

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
								 
				<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-repeat line-left"><a href="">Produto</a></th>
					<th class="table-header-repeat line-left"><a href="">Descricao</a></th>
					<th class="table-header-repeat line-left"><a href="">Preco</a></th>
					
					<th class="table-header-options line-left"><a href="">Options</a></th>
				</tr>
				
				<!-- Inicia o conteudo da tabela categoria -->
				<?php foreach ($lista as $produto) :?>
				
				<tr>
					<td><?php echo $produto["nome"]; ?></td>
					<td><?php echo $produto["descricao"]; ?></td>
					<td><?php echo "R$ ".number_format($produto["preco"], 2, ',', '.');  ?></td>
					
					<td class="options-width">
					<a href="<?php echo $this->url(array("module" => "admin", "controller" => "produto", "action" => "atualizar-produto", "id" => $produto["id_produto"]), null, TRUE);?>" title="Editar" class="icon-1 info-tooltip"></a>
					<a href="<?php echo $this->url(array("module" => "admin", "controller" => "produto", "action" => "excluir", "id" => $produto["id_produto"]), null, TRUE);?>" title="Excluir" class="icon-2 info-tooltip"></a>
					</td>
				</tr>
				
				<?php endforeach;?>
				
				<!-- Final do conteudo da tabela categoria -->
				
				</table>
				<!--  end product-table................................... --> 
				</form>
			</div>
			<!--  end content-table  -->

	